import BNode from "./BNode";

export default class BNodeDecorator extends BNode {
    protected get child(): BNode {
        if (this.m_lstChildren.length > 0) {
            return this.m_lstChildren[0];
        }
        return null;
    }
}
